package com.hqyj.mapper;

import com.hqyj.pojo.Order;
import com.hqyj.pojo.User;

import java.util.List;

public interface OrderMapper {
    //全查
    List<User> selectAll(String username);

    //查询一个用于回显
    Order selectOrderByOrderid(int orderid);
    //添加
    int insertOrder(Order order);
    //修改
    int updateOrder(Order order);
    //物理删除
    int deleteOrder(int orderid);
//    查询id
    int selectOrderIdByOrderInfo(Order order);
}
